package org.jeecg.modules.model.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.maps.model.param.BuildFloorQuery;
import org.jeecg.modules.model.entity.BimModelUnit;
import org.jeecg.modules.model.model.params.BimModelUnitBatchAddParam;
import org.jeecg.modules.model.model.params.BimModelUnitParam;
import org.jeecg.modules.model.model.params.BimModelUnitTagParam;
import org.jeecg.modules.model.model.result.BimModelUnitBatchAddResult;
import org.jeecg.modules.project.entity.BuildResultType;
import org.jeecg.modules.project.model.result.BimProjectBuildInfo;

import java.util.List;

/**
 * @Description: 支节点/构件
 * @Author: jeecg-boot
 * @Date:   2023-04-18
 * @Version: V1.0
 */
public interface IBimModelUnitService extends IService<BimModelUnit> {

    BimModelUnitBatchAddResult batchAdd(BimModelUnitBatchAddParam batchAddParam);

    void deleteByIds(List<String> idsList);

    void deleteById(String item);

    List<JSONObject> getProjBuildInfos(BuildFloorQuery query, BuildResultType unit);

    List<JSONObject> queryUnits(BimModelUnitParam modelUnitParam);

    void tagNode(BimModelUnitTagParam unitTagParam);

    void add(BimModelUnit bimModelUnit);
}
